# coding=utf-8
import ConfigParser
import os

import local_settings
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
LOG_PATH = os.path.join(BASE_DIR, 'logs')
if not os.path.exists(LOG_PATH):
    os.mkdir(LOG_PATH)

TMP_ROOT = os.path.join(BASE_DIR, 'tmp')
if not os.path.exists(TMP_ROOT):
    os.mkdir(TMP_ROOT)

UPLOAD_ROOT = os.path.join(BASE_DIR, 'upload')
if not os.path.exists(UPLOAD_ROOT):
    os.mkdir(UPLOAD_ROOT)
